package com.itheima.Test;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        System.out.println("请输入电影票号：");
        Scanner sc = new Scanner(System.in);
        int number = sc.nextInt();
        if(number >= 0 && number <= 100) {
            if(number % 2 == 0) {
                System.out.println("右边");
            } else {
                System.out.println("左边");
            }
        } else {
            System.out.println("电影票不正确");
        }
    }
}
